package com.topisv.tms.service.occupiedArea;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.topisv.tms.entity.occupiedArea.StockTypeMapping;
import com.topisv.tms.repository.occupiedArea.StockTypeMappingDao;

/**
 * 库位类型成本配置_service
 * 
 * @author gh
 * 
 */
@Component
@Transactional(readOnly = true)
public class StockTypeMappingService {

	@Autowired
	private StockTypeMappingDao stmDao;
	@PersistenceContext
	private EntityManager em;
	
	@Transactional(readOnly = false)
	public void save(StockTypeMapping stm){
		stmDao.save(stm);
	}
	
	
}